{extend name='index/base' /}

{block name='main'}
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 交易记录 <span class="c-gray en">&gt;</span> 吉投交易记录 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
    <div class="">
        <form id="myform" action="" method="get">
            日期：
            <input type="text" name="start" value="{$get.start}" autocomplete="off"  onfocus="WdatePicker({ maxDate:'#F{ \'%y-%M-%d\'}' })" id="datemin" class="input-text Wdate" style="width:120px;">


            <button type="button" onclick="ex()"  class="btn btn-danger radius" > 导出</button>
        </form>
    </div>

</div>



</body>
</html>

{/block}


{block name='my'}
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="/static/admin/lib/My97DatePicker/4.8/WdatePicker.js"></script>
<!--<script type="text/javascript" src="/static/admin/lib/datatables/1.10.0/jquery.dataTables.min.js"></script>-->
<script type="text/javascript" src="/static/admin/lib/laypage/1.2/laypage.js"></script>
<script>
    function ex(){
        var $start=$('#datemin').val();
        var $end=$('#datemin').val();
//        var tempwindow=window.open();
//        tempwindow.location='{:url("admin_platform/Transaction/export")}'+'?start='+$start+'&end='+$end;
        window.location.href='{:url("admin/Transaction/dojitouexport")}'+'?start='+$start+'&end='+$end;
        return false;
    }
</script>

{/block}